Avoid GdkPixbuf in docs
authorMatthias Clasen <mclasen@redhat.com>
Thu, 30 Nov 2017 22:32:05 +0000 (17:32 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Thu, 30 Nov 2017 22:32:05 +0000 (17:32 -0500)
GdkTexture is preferred now.

gtk/gtkliststore.c
gtk/gtktreestore.c

index 8bf3eb19cd77f55855cebca7823d4225965e1d66..ffbd17bcae946df6b782e07d2c40e6cd5905582d 100644 (file)
@@ -51,7 +51,7 @@
  * value.  As a result, if the object is modified, it is up to the
  * application writer to call gtk_tree_model_row_changed() to emit the
  * #GtkTreeModel::row_changed signal.  This most commonly affects lists with
- * #GdkPixbufs stored.
+ * #GdkTextures stored.
  *
  * An example for creating a simple list store:
  * |[<!-- language="C" -->
@@ -406,8 +406,8 @@ iter_is_valid (GtkTreeIter  *iter,
  * are supported.
  *
  * As an example, `gtk_list_store_new (3, G_TYPE_INT, G_TYPE_STRING,
- * GDK_TYPE_PIXBUF);` will create a new #GtkListStore with three columns, of type
- * int, string and #GdkPixbuf respectively.
+ * GDK_TYPE_TEXTURE);` will create a new #GtkListStore with three columns, of type
+ * int, string and #GdkTexture, respectively.
  *
  * Returns: a new #GtkListStore
  */
index 5cab98ba7738ac79a20586a0a1537261165a0f8b..332be4ee2323edfcd7180c8a5828a77c801bedd3 100644 (file)
@@ -309,8 +309,8 @@ gtk_tree_store_init (GtkTreeStore *tree_store)
  * are supported.
  *
  * As an example, `gtk_tree_store_new (3, G_TYPE_INT, G_TYPE_STRING,
- * GDK_TYPE_PIXBUF);` will create a new #GtkTreeStore with three columns, of type
- * #gint, #gchararray, and #GdkPixbuf respectively.
+ * GDK_TYPE_TEXTURE);` will create a new #GtkTreeStore with three columns, of type
+ * #gint, #gchararray, and #GdkTexture respectively.
  *
  * Returns: a new #GtkTreeStore
  **/